package com.gml.jdk.proxy.statics;

/**
 * @ClassName : Student
 * @Description : 学生类
 * @Author : gml
 * @Date: 2020-10-20 15:50
 */
public class Student implements Person{

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private String name;

    @Override
    public void giveMoney(int money) {
        System.out.println(name + " 交班费"+ money +"元");
    }
}
